// /** @type {import('tailwindcss').Config} */
// module.exports = {
//   // NOTE: Update this to include the paths to all of your component files.
//   content: ["./App.{js,jsx,ts,tsx}"],
//   presets: [require("nativewind/preset")],
//   theme: {
//     extend: {},
//   },
//   plugins: [],
// }

const { colors } = require('./src/Theme');

/** @type {import('tailwindcss').Config} */
module.exports = {
    // NOTE: Update this to include the paths to all of your component files.
    content: ["./src/**/*.{js,jsx,ts,tsx}"],
    presets: [require("nativewind/preset")],
    darkMode: 'class', // 启用通过类名控制的暗模式
    theme: {
      extend: {
        colors: {
          primary: colors.light.primary,
          secondary: colors.light.secondary,
          background: colors.light.background,
        },
      },
    },
    plugins: [],
  }